package com.abaaba.project2.service;

import com.abaaba.project2.bean.Category;
import com.abaaba.project2.bean.bo.CategoryCreateBo;
import com.abaaba.project2.bean.bo.CategoryUpdateBo;
import com.abaaba.project2.bean.vo.CategoryCreateVo;
import com.abaaba.project2.bean.vo.CategoryLevelOneVo;
import com.abaaba.project2.bean.vo.CategoryVo;

import java.util.List;

public interface AdminCategoryService {
    List<CategoryVo> queryCategory();

    List<CategoryLevelOneVo> queryCategoryByLevel();

    CategoryCreateVo insertCategory(CategoryCreateBo categoryCreateBo);

    int updateCategory(CategoryUpdateBo categoryCreateBo);

    int deleteCategory(Category category);

    Long countSearchCategoryAll();
}
